package com.telephone.purchase.mapper;

import com.telephone.purchase.entity.Package;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface PackageMapper {
    int deleteByPrimaryKey(Long packageId);

    int insert(Package record);

    int insertSelective(Package record);

    Package selectByPrimaryKey(Long packageId);

    int updateByPrimaryKeySelective(Package record);

    int updateByPrimaryKey(Package record);

    List<Package> selectByGoodId(Long GoodId);
}